﻿using System;
using System.Collections.Generic;

namespace Wicture.QPZS.EPC.API.Domain
{
    public class ServicePackage
    {
        public int PackageType { get; set; }
        public int Frequency { get; set; }
        public int Rest { get; set; }
        public int Consumed { get; set; }
    }

    public class ServicePackageApi
    {
        public int AccountId { get; set; }
        public int PackageId { get; set; }
        public string Name { get; set; }
        public int Total { get; set; }
        public int Consumed { get; set; }
        public int Frequency { get; set; }
    }

    public class ApiDefinition
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public decimal? PriceWithVin { get; set; }
        public decimal PriceWithoutVin { get; set; }
        public int Frequency { get; set; }
    }

    public class InvocationFrequency
    {
        public int Total { get; set; }

        public List<ApiCounter> ApiCounters { get; set; } = new List<ApiCounter> { };
        public DateTime Stamp { get; set; }
    }

    public class ApiCounter
    {
        public string Name { get; set; }
        public int Count { get; set; }
    }
}
